.class Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$3;
.super Ljava/lang/Object;
.source "SPBrandEngageClient.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->checkEngagementStarted()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;


# direct methods
.method constructor <init>(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$3;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    .line 345
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 348
    iget-object v0, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$3;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    #getter for: Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->mStatus:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;
    invoke-static {v0}, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->access$0(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;

    move-result-object v0

    sget-object v1, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;->SHOWING_OFFERS:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;

    if-eq v0, v1, :cond_0

    .line 349
    iget-object v0, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$3;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    #getter for: Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->mStatus:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;
    invoke-static {v0}, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->access$0(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;

    move-result-object v0

    sget-object v1, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;->USER_ENGAGED:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;

    if-eq v0, v1, :cond_0

    .line 350
    iget-object v0, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$3;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    #getter for: Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->mWebView:Landroid/webkit/WebView;
    invoke-static {v0}, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->access$4(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)Landroid/webkit/WebView;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 352
    iget-object v0, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$3;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    .line 353
    sget-object v1, Lcom/sponsorpay/sdk/android/publisher/SponsorPayPublisher$UIStringIdentifier;->MBE_ERROR_DIALOG_MESSAGE_DEFAULT:Lcom/sponsorpay/sdk/android/publisher/SponsorPayPublisher$UIStringIdentifier;

    invoke-static {v1}, Lcom/sponsorpay/sdk/android/publisher/SponsorPayPublisher;->getUIString(Lcom/sponsorpay/sdk/android/publisher/SponsorPayPublisher$UIStringIdentifier;)Ljava/lang/String;

    move-result-object v1

    .line 352
    #calls: Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->showErrorDialog(Ljava/lang/String;)V
    invoke-static {v0, v1}, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->access$2(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;Ljava/lang/String;)V

    .line 355
    :cond_0
    return-void
.end method
